//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.baidu.trace.api.fence;

import com.baidu.trace.model.BaseRequest;
import com.baidu.trace.model.CoordType;
import java.util.List;

public final class HistoryAlarmRequest extends BaseRequest {
    private long a;
    private long b;
    private String c;
    private List<Long> d;
    private CoordType e;
    private FenceType f;

    public final long getStartTime() {
        return this.a;
    }

    public final void setStartTime(long var1) {
        this.a = var1;
    }

    public final long getEndTime() {
        return this.b;
    }

    public final void setEndTime(long var1) {
        this.b = var1;
    }

    public final String getMonitoredPerson() {
        return this.c;
    }

    public final void setMonitoredPerson(String var1) {
        this.c = var1;
    }

    public final List<Long> getFenceIds() {
        return this.d;
    }

    public final void setFenceIds(List<Long> var1) {
        this.d = var1;
    }

    public final CoordType getCoordTypeOutput() {
        return this.e;
    }

    public final void setCoordTypeOutput(CoordType var1) {
        if(FenceType.server == this.f) {
            this.e = var1;
        }

    }

    public final FenceType getFenceType() {
        return this.f;
    }

    private HistoryAlarmRequest(int var1, long var2, long var4, long var6, String var8, List<Long> var9, CoordType var10, FenceType var11) {
        super(var1, var2);
        this.e = CoordType.bd09ll;
        this.a = var4;
        this.b = var6;
        this.c = var8;
        this.d = var9;
        this.e = var10;
        this.f = var11;
    }

    public static HistoryAlarmRequest buildLocalRequest(int var0, long var1, long var3, long var5, String var7, List<Long> var8) {
        return new HistoryAlarmRequest(var0, var1, var3, var5, var7, var8, CoordType.bd09ll, FenceType.local);
    }

    public static HistoryAlarmRequest buildServerRequest(int var0, long var1, long var3, long var5, String var7, List<Long> var8, CoordType var9) {
        return new HistoryAlarmRequest(var0, var1, var3, var5, var7, var8, var9, FenceType.server);
    }

    public final String toString() {
        return "HistoryAlarmRequest [tag=" + this.tag + ", serviceId=" + this.serviceId + ", startTime=" + this.a + ", endTime=" + this.b + ", monitoredPerson=" + this.c + ", fenceIds=" + this.d + ", coordTypeOutput=" + this.e + ", fenceType=" + this.f + "]";
    }
}
